package org.yray.license;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
public class LicenseCreatorParam {
    private String subject;
    private String privateAlias;
    private String keyPass;
    private String storePass;
    private String licensePath;
    private String privateKeysStorePath;
    @JsonFormat(pattern ="yyyy-MM-dd HH:mm:ss", timezone ="GMT+8")
    private Date issuedTime;
    @JsonFormat(pattern ="yyyy-MM-dd HH:mm:ss", timezone ="GMT+8")
    private Date expiryTime;
    private String consumerType;
    private Integer consumerAmount;
    private String description;
}
